projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bd153
)
* eglot.el (eglot--connect): display seconds on timeout.
author
Stefan Kangas
<stefankangas@gmail.com>
Sat, 15 Jan 2022 12:47:30 +0000
(13:47 +0100)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sat, 15 Jan 2022 12:48:00 +0000
(13:48 +0100)
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 9536a72a2635311425d2cf1f5ea1fc56a5959fa0..bf3e54c6b4a59b47f112b06757dca02223258bbb 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1208,7
+1208,8
@@
in project `%s'."
:timeout-fn (lambda ()
(unless cancelled
(jsonrpc-shutdown server)
- (let ((msg (format "Timed out")))
+ (let ((msg (format "Timed out after %s seconds"
+ eglot-connect-timeout)))
(if tag (throw tag `(error . ,msg))
(eglot--error msg))))))
(cond ((numberp eglot-sync-connect)